@charset "UTF-8";
@import url(./fonts.css);
@import url(./animation\ for\ header\ button.css);
@import url(./animation\ for\ members.css);
@import url(./photos.css);


my-email::after {
    content: attr(data-domain);
}
my-email::before {
    content: attr(data-user);
}

html,
body {
    margin: 0;
    font-family: 'Montserrat';
    font-size: 20px;
    width: 100%;
}
body {
    background-image: url("../img/Фон.png");
}
#content-center {
    width: 80%;
    max-width: 1800px;
    display: block;
    margin: 0 auto;
}
.display-none {
    display: none;
}
.display-block {
    display: blocks;
}
.background-for-popup {
    width: 100%;
    height: 100vh;
    background-color: rgba(46, 46, 46, 0.8);
    position: fixed;
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.popup-window {
    position: relative;
    width: 85%;
    max-width: 1200px;
    height: fit-content;
    max-height: 90%;
    background: rgb(255,255,255);
    background: linear-gradient(215deg, rgba(255,255,255,1) 0%, rgba(231,231,231,1) 100%);
    border-radius: 20px;
    border: 2px solid rgb(202, 202, 202);
    margin: 0 auto;
    overflow-y: scroll;
    /* padding-bottom: 50px; */
}
.close-popup-window {
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 20px;
    right: 20px;
    background-image: url("../img/close.svg");
    background-position: center;
    background-size: cover;
    border-radius: 5px;
    cursor: pointer;
    z-index: 999;
}
b {
    font-weight: 500;
}

/* HEADER */
#header-nav {
    max-width: 1500px;
    /* max-width: 100%; */
    margin: 0 auto;
    display: flex;
    justify-content:space-between;
    font-weight: 600;
    font-size: 0.7em;
    text-transform: uppercase;
    border: 2px solid #454588;
    border-top: 0;
    border-radius: 5px;
    background-color: rgba(255,255,255, .8);
}
#show-menu {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background-image: url("../img/Menu.svg");
    background-position: center;
    background-size: cover;
}
#header-nav>.header-nav__a {
    padding: 15px ;
    text-align: center;
    transition: .2s;
    width: 100%;
    text-decoration: none;
    color: black;
}
#header-nav>.header-nav__a:hover {
    animation: background-button .2s linear forwards;
    cursor: pointer;
}
#header-nav>.header-nav__a:not(:hover) {
animation: background-button-unhover .2s linear forwards;
}
#main-logo {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    margin: 0 auto;
    padding-top: 20px;
}

/* SECTIONS */
.block-with-info {
    width: 100%;
    border-top: 1px solid black;
    margin-top: 90px;
}
.block-with-info__header {
    text-align: center;
    text-transform: uppercase;
    font-size: 1.4em;
    font-weight: 600;
    margin: 50px auto;
}
.block-with-info__header__h4 {
    text-align: center;
    text-transform: uppercase;
    font-size: 1.1em;
    font-weight: 600;
    margin: 30px auto;
}
.block-with-info__text {
    font-size: 1.1em;
    text-align: justify;
    width: 85%;
    margin: 0 auto;
}
.blue-button {
    display: block;
    width: 600px;
    max-width: 60%;
    background-color: #2D85C3;
    padding: 20px;
    text-align: center;
    border-radius: 20px;
    color: white;
    text-decoration: none;
    margin: 100px auto;
    cursor: pointer;
}
#block-with-info__images {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 100px;
}
#block-with-info__images>div {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#block-with-info__images>div:not(:last-child) {
    border-right: 1px solid black;
}
.block-with-info__images__img {
    width: 80%;
    display: block;
    margin: 0 auto;
}

.all-news {
    width: 800px;
    height: fit-content;
    max-height: 1000px;
    overflow-y: scroll;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid black;
    margin: 0 auto;
    padding: 20px 10px;
}
.all-news a {
    text-decoration: none;
}
.news__new:not(:first-child) {
    margin-top: 80px;
}
.news__flex-header {
    display: flex;
    align-items: center;
    justify-content:space-around;
    margin: 20px 0;
}
.news__header-line {
    display: block;
    width: 20%;
    height: min-content;
    border: 2px solid black;
}
.news__new__date {
    text-align: center;
    display: block;
    margin: 0 auto;
    color: #aaaaaa;
    font-size: 0.9em;
}
.news__new__header {
    font-size: 1.1em;
    font-weight: 600;
    text-align: center;
    margin: 0 10px;
    flex-basis: content;
}
.news__new__text {
    text-align: justify;
}

#organizers > .blue-button {
    margin-top: 0;
}
.block-with-info__organizators {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}
.block-with-orgs {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
    margin-bottom: 100px;
}
.block-with-info__organizators__people {
    padding: 10px 20px 10px 20px;
    border-radius: 7px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid black;
    flex: 0 0 calc(33.33% - 11px); /* 33.33% - ширина каждого элемента, 10px - промежуток между элементами */
    box-sizing: border-box;
    margin: 5px;
}

.block-with-info__organizators__people__img {
    width: 150px;
    height: 150px;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
}
.block-with-info__organizators__people__about > p:first-child {
    font-weight: 500;
    text-align: center;
}
.block-with-info__organizators__people__about > p:last-child {
    text-align: justify;
}

#table-with-requisites {
    width: 800px;
    max-width: 80%;
    margin: 0 auto;
    margin-bottom: 20px;
    border-collapse:collapse;
}
#table-with-requisites > tbody > tr > td:first-child {
    border-right: 1px solid black;
    height: fit-content;
}
#table-with-requisites > tbody > tr > td:last-child {
    text-align: justify;
}
#table-with-requisites > tbody > tr > td {
    padding: 10px;
}


.table-with-members {
    width: 700px;
    max-width: 80%;
    margin: 0 auto;
    margin-bottom: 20px;
    border-collapse:collapse;
}
.table-with-members td, .table-with-members th {
    background-repeat: no-repeat;
    background-size: 50px 50px; 
    background-position: center;
    min-height: 50px;
    padding: 15px;
    text-align: start;
}
.table-with-members > tbody > tr > td:first-child {
    margin: auto;
    min-width: 50px;
}
.table-with-members > tbody > tr:nth-child(2n) {
    background-color: rgba(255, 255, 255, 0.3);
}
.table-with-members > tbody > tr:nth-child(2n-1) {
    background-color: rgba(180, 180, 180, 0.3);
}
.table-with-members > tbody > tr > td > img {
    width: 100%;
}


.members-of-conference__all-content {
    width: 1345px;
    max-width: 80%;
    margin: 0 auto;
}
.members-of-conference__all-content__members,
.members-of-conference__all-content__info {
    width: 50%;
}
.members-of-conference__all-content__members__member {
    width: 100%;
    display: flex;
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
    transition: .2s;
    cursor: pointer;
}
.members-of-conference__all-content__members__member:hover {
    animation: background-button-member .2s linear forwards;
}
.members-of-conference__all-content__members__member:not(:hover) {
    animation: background-button-member-unhover .2s linear forwards;
}
.members-of-conference__all-content__members__member:not(:last-child) {
    margin-bottom: 20px;
}
.members-of-conference__all-content__members__member__img {
    display: block;
    border-radius: 100%;
    height: 200px;
    width: 200px;
}
.members-of-conference__all-content__members__member__img,
.members-of-conference__all-content__info__about__photo {
    object-fit: cover;
    display: block;
    background-color: #d9d9d9;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.members-of-conference__all-content__members__member__name {
    margin: auto;
}
.members-of-conference__all-content__info {
    width: 50%;
    height: calc(200px*4 + 20px*3);
    border-radius: 0 20px 20px 0;
    background-color: #fff;
    box-sizing: border-box;
    padding: 48px;
    overflow: scroll;
}
.members-of-conference__all-content__info__about {
    display: flex;
}
.members-of-conference__all-content__info__about__photo {
    width: 200px;
    height: 200px;
    margin-right: 15px;
}
.members-of-conference__all-content__info__bold-text, 
.members-of-conference__all-content__info__text-desription {
    display: block;
    text-align: left;
    margin-top: 30px;
}
.members-of-conference__all-content__info__text-desription {
    text-align: justify;
    font-size: 0.8em;
}

#contacts-and-place > div {
    display: flex;
    width: 1600px;
    max-width: 80%;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin: 0 auto;
}
#contacts-and-place > div > div {
    display: flex;
    flex-direction: column;
    align-self: center;
}
#contacts-and-place > div p {
    text-align: start;
    margin: 15px 0;
    font-size: 1.1em;
    /* flex-basis: 45%; */
}
#contacts-and-place > div iframe {
    flex-basis: 45%;
    min-width: 500px;
    margin-right: 10px;
}
.contacts-and-place__place {
    width: 700px;
    height: 400px;
}
#materials-of-conference > p {
    text-align: center;
}
#materials-of-conference > table {
    margin: 0 auto;
    width: 800px;
    max-width: 80%;
}

#materials-of-conference > table  th {
    text-align: start;
    padding-bottom: 20px;
}
#materials-of-conference > table  th:first-child {
    text-align: center;
}
#materials-of-conference > table  td {
    padding-top: 10px;
    padding-bottom: 10px;
}
#materials-of-conference > table  td:nth-child(2n - 1) {
    text-align: center;
}
#materials-of-conference > table  td > a {
    text-decoration: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    background-color: #2D85C3;
    border-radius: 10px;
    margin: 0 auto;
}


footer {
    display: flex;
    justify-content: center;
    background-color: black;
    padding: 100px;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    width: 100%;
    color: white;
    box-sizing: border-box;
    margin-top: 100px;
}
#block-with-organizers {
    width: 60%;
    max-width: 1080px;
    display: flex;
}
.footer-organizers {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid white;
    border-radius: 120px;
    padding: 10px 20px;
}
.footer-organizers:not(:first-child) {
    border-left: 0;
}
.footer-organizers:first-child {
    border-top-left-radius: 50px;
}
.footer-organizers:last-child {
    border-top-right-radius: 50px;
}
.footer-organizers img {
    width: inherit;
}